Update carrier services return 404 error

Topic summary

Main issue: POST/PUT requests to the carrier_services endpoint return errors, while GET requests succeed.

  • Initial state: PUT/POST returned 404. The app reportedly has both Read and Write shipping permissions. The user discovered their endpoint was behind a store password and asked how to make it public.
  • Clarification: A responder noted a password block would not typically produce a 404 and requested the full POST/PUT URL for diagnosis.

Latest update: After making the endpoint publicly accessible, attempts to create a carrier service from the server now return 400 Bad Request.

  • The user triggers creation via a frontend call to a backend “/add” route. Code samples and console output are provided as images, which are central to understanding the request payload/headers.

Status and next steps:

  • No confirmed solution yet; the issue shifted from 404 to 400 after removing password protection.
  • Pending details include the exact URL being used and verification of the request body and headers shown in the screenshots. The discussion remains open.
Summarized with AI on February 28. AI used: gpt-5.

Hi , im having this 404 error when i make a PUT or POST request to carrier_services but if i make GET request to get a list of carrier services retrun data successfully

this the list of my shipping carrier :

and this is my code for update a carrer service :

error id : 59903ea0-4dd6-46ad-9aa7-3bc6cb64a642

Hi @jon2022

Does your app have both Read and Write access for shipping?

@csam yes

i found that my endpoint protected by store password

how to make it public endpoint ?

Could you please provide the full URL of the endpoint you’re trying to POST/PUT to? If it was blocked by a password, it wouldn’t be returning a 404 response.

ifount a solution to my endpoint publicly availeble but still can’t create new crrier service from my server with post request provided by shopify api

@csam my error is 400 badrequest

this is my code :

and this is my console :

when i made get request from frontend to my (“/add”) get request to create new carrier service with REST api provided by shopify api it return error 400 bad request