PricingBlog

Trying To Delete Item from Supabase and getting error

  • fuelmeup-1255646679135162531

    AY EYE

    1 year ago

    Here is the error im getting:

    {"code":"PGRST100","details":"unexpected "1" expecting "not" or operator (eq, gt, ...)","hint":null,"message":""failed to parse filter (13)" (line 1, column 1)"}

    But the url im sending looks like this...i specified that i want to delete the row with id but its not working. anyone know why?
    1255646679651188756-image.png
  • lucasg-1255647545942609940

    Lucas G

    1 year ago

    Hard to say from here
  • You don’t need to enter the Authorization: Bearer line if you’re selecting it from the dropdown underneath the headers
  • Side note
  • fuelmeup-1255647903419072644

    AY EYE

    1 year ago

    i need that authroization because im sharing jwt clerk auth, not supabase auth
  • there is no auth selected on toddle side
  • lucasg-1255648204930814105

    Lucas G

    1 year ago

    Ah I see, my bad then
  • fuelmeup-1255648504899174460

    AY EYE

    1 year ago

    i figured it out
  • there is an issue when you do concatenate it turns the first values into arg
  • i had this happen before and its annoying lol but it worked as expected
  • lucasg-1255649449489862726

    Lucas G

    1 year ago

    Can you clarify
  • What do you mean it turns the first values into arg?
  • fuelmeup-1255649604909662391

    AY EYE

    1 year ago

    let me try to recreate it one sec
  • fuelmeup-1255660910291325043

    AY EYE

    1 year ago

    of course i can't recreate it
    🤣1