Help

Scripting Block - 401 Error with API

682 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Joe_Duffy
4 - Data Explorer
4 - Data Explorer

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??

Thanks!

Joe

0 Replies 0