Hello, I'm facing a problem with my pipeline.
I try to make a GET request to my API in the pipeline and expected to receive an API response.
Therefore I receive 403 or 200 with Cloudflare's response.
In my local machine or my docker container all ok.
API is open.
In Cypress tests situation is the same.
Please help me with that.
Hi @EvoX0 and welcome to the community!
You mentioned that the API call works as expected in your Docker container. Are you running this API call in a Docker container based on the same Docker image as the one specified in your bitbucket-pipelines.yml file for that step?
Are you using the same Bearer token in the Pipelines as the one you use locally in the Docker container?
If the answer to any of the questions is no, could you please try running the API call locally in a Docker container based on the same image (and image tag) as the one in the bitbucket-pipelines.yml file for that step, and also use the same Bearer token; and then let me know if you see the same issue or not?
Kind regards,
Theodora
The problem is solved, thanks for your reply.
The issue was in Cloudflare protection against bots.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.