Git Product home page Git Product logo

Comments (2)

AmaanC avatar AmaanC commented on July 24, 2024

It seems to always fail with a 404 error for me. (Note: Not a 401 - this doesn't seem to be an issue with misconfiguration.)
I tried looking at the API request options, and the URL being requested seems fine too (i.e. it works fine if used outside of the context of this extension).

All I did to reproduce was

  • Create a new tenant
  • Create a new Bitbucket repo
  • Install the extension and configure it
  • Try to deploy

Trying the API directly seems to work fine for me, so I'm not sure where the problem lies.

from auth0-bitbucket-deploy.

AmaanC avatar AmaanC commented on July 24, 2024

Alright, so here's the issue. For missing directories, we resolve based on the err.message here (and in several other places, for all the other requests as well.)
However, the actual error that will be thrown here is Bitbucket Api - Status Code: 404.
Since the err.message doesn't match, we will always reject, causing the deploy to fail.

Quickfix would be to change the err.message in either of those files to match up with the other.

from auth0-bitbucket-deploy.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.