When trying to use multiple query parameters in a cloud function I get a 403 error code. A single parameters works but the second I add multiple I get the following error:
403 Forbidden
Error: Forbidden
Your client does not have permission to get URL /?clientName=Test from this server.
I am doing this from an authenticated cloud shell and it works if I only have 1 paremeter. My problem is the end goal of the project is to be able to trigger this with a multi parameter get instead of a POST with a JSON body (it works when I post as well)
Still getting this, works when I post to it. I believe it has something to do with the permissions of the URL… and the URL being different after adding the parameters. Any advise is appreciated
You may want to check this link of the list of Troubleshooting Cloud Functions errors. Since you mentioned that you’re getting 403 error, this is most likely due to permission issue and you need to add or request for additional roles that would allow you to proceed with the authentication and afterwards deployment.
Im able to do single query parameter GET invokes as well as POST invokes with json objects. Seems to be something with the permissions on the URL once it has more than one parameter.