I’m trying to create a private app to connect Freshdesk with Squarespace Commerce. I’m trying fetch order details. When I call the API without any parameter, the call went through just fine. But when I added time parameter (using ISO date) format, I got 401 error.
The call without parameter
The call with time parameter
This makes me think that adding the parameter changed the bearer token format somehow? I ran the same calls via Postman and didn’t get 401 error.
Any thoughts or directions on troubleshooting this issue? Thanks in advance!
This is the API call details:
I converted the date to ISODate format: