Supabase PATCH not Working Outside of Editor
Hi all , I 've begun testing my app outside of the editor , but I have run into an issue . I have a page with a post and a patch API call . The page functions as intended when tested inside of the editor , but not when in a separate tab . The POST API works both inside and outside of the editor , but when the PATCH API is called , the following is returned : Object { error: "NetworkError when attempting to fetch resource.", status: undefined } I 'm not sure as to why this is happening , Is there something special I am supposed to do for PATCH calls ? ✅1curl .exe ^ " https://start-processflow360.toddle.site/.toddle/omvej/components/Track^%^20Order/apis/Track^%^20Order:tasks-patch^ " ^ - -compressed ^ -X PATCH ^ -H ^ "User -Agent : Mozilla /5 .0 (Windows NT 10 .0 ; Win64 ; x64 ; r v :142 .0 ) Gecko /20100101 Firefox /142 .0 ^ " ^ -H ^ "Accept : / ^ " ^ -H ^ "Accept -Language : en -US ,en ;q =0 .5 ^ " ^ -H ^ "Accept -Encoding : gzip , deflate , br , zstd ^ " ^ -H ^ "Referer : https://start-processflow360.toddle.site/_toddle/preview^ " ^ -H ^ "apikey : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 .eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imlnb3N4bmVrYnpzcHFmaG13bnpuIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTQ5ODQ1NjMsImV4cCI6MjA3MDU2MDU2M30 .xzQzVHb1y3crT1xqKXPVzWoc6QSKkfEhCQ4GIP _d -ds ^ " ^ -H ^ "authorization : Bearer ^ { ^ { cookies .access _token ^ } ^ } ^ " ^ -H ^ "content -type : application /json ^ " ^ -H ^ "prefer : return =representation ^ " ^ -H ^ "x -nordcraft -url : https://igosxnekbzspqfhmwnzn.supabase.co/rest/v1/tasks?task_id=eq.2a5c2e5a-1949-4503-bd18-6d28656e9407^ " ^ -H ^ "Origin : https://start-processflow360.toddle.site^ " ^ -H ^ "Sec -GPC : 1 ^ " ^ -H ^ "Connection : keep -alive ^ " ^ -H ^ "Sec -Fetch -Dest : empty ^ " ^ -H ^ "Sec -Fetch -Mode : cors ^ " ^ -H ^ "Sec -Fetch -Site : same -origin ^ " ^ -H ^ "Cookie : refresh _token =w6pjjnvov2f6 ;access _token = < <redacted > > ^ " ^ -H ^ "Priority : u =4 ^ " ^ -H ^ "TE : trailers ^ " ^ - -data -raw ^ " ^ { ^ ^ "status ^ ^ " : ^ ^ "In Progress ^ ^ " ^ } ^ " the preview link , in my case its https://start-processflow360.toddle.site/factory/orders/view?order_id=de8b8854-147b-4497-a0ee-fd913a11f4d0 Redirects don 't happen in the editor so its not an issue