Scripting Block - 401 Error with API

I am attempting to call a POST API outside of AirTable to kick off another process. I am passing an x-authorization header with the proper token, but am getting a Status Code 401. The request method is “OPTIONS” when I inspect the code and look at the network headers. I believe the issue has something to do with the User-Agent I’m passing (inherited from the browser) because it works fine when I send the exact same request from Postman. I’ve tried manually overriding the User-Agent to match what I am sending via postman, but still getting the 401 Status Code.

Any ideas??



This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.