You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I would like to thank you for your contribution to the Snipe IT community. Bulkedit is something that has the potential to really help my team, and I'm sure many other teams and companies, in our day by day operational tasks.
Now for the issue, I've been trying to make Bulkedit work for a week, but I can't figure out why it is getting refused by my snipe-it endpoint.
I followed all the steps in the instructions, created the "Errors" tab, added the serverURL and API key from my snipe-it instance to the setup.gs and ran one of the test functions in inventory.gs (function testGetLocationIDByName) first, to authorize the script's permissions, however I keep getting a Bad request error, as if there is an issue with the syntax, but since I copied everything from the repo, I am quite sure the syntax is not the issue here.
I thought it could have something to do with the fact that my snipe-it instance is not exposed if you don't use the company's VPN, but I executed a GET query in Postman with the exact same API key used in Bulkedit setup.gs script, used the same endpoint from testGetLocationIDByName -> https://my-company-url.com/api/v1/locations?search=HQ3 (for security reasonsI replaced the actual URL with my-company-url.com) and it returns status 200 with the response body showing the location searched.
Do you have any idea about what may be interfering here?
The text was updated successfully, but these errors were encountered:
Hello there!
First I would like to thank you for your contribution to the Snipe IT community. Bulkedit is something that has the potential to really help my team, and I'm sure many other teams and companies, in our day by day operational tasks.
Now for the issue, I've been trying to make Bulkedit work for a week, but I can't figure out why it is getting refused by my snipe-it endpoint.
I followed all the steps in the instructions, created the "Errors" tab, added the serverURL and API key from my snipe-it instance to the setup.gs and ran one of the test functions in inventory.gs (function testGetLocationIDByName) first, to authorize the script's permissions, however I keep getting a Bad request error, as if there is an issue with the syntax, but since I copied everything from the repo, I am quite sure the syntax is not the issue here.
I thought it could have something to do with the fact that my snipe-it instance is not exposed if you don't use the company's VPN, but I executed a GET query in Postman with the exact same API key used in Bulkedit setup.gs script, used the same endpoint from testGetLocationIDByName -> https://my-company-url.com/api/v1/locations?search=HQ3 (for security reasonsI replaced the actual URL with my-company-url.com) and it returns status 200 with the response body showing the location searched.
Do you have any idea about what may be interfering here?
The text was updated successfully, but these errors were encountered: