firebase / fastlane-plugin-firebase_app_distribution

fastlane plugin for Firebase App Distribution. https://firebase.google.com/docs/app-distribution
MIT License
165 stars 27 forks source link

the server responded with status 404\e[0m (Faraday::ResourceNotFound) #273

Closed Pavel1501 closed 2 years ago

Pavel1501 commented 2 years ago

Issue Description

I work as a DevOps engineer and I want to distribute my app to firebase. My Fastfile:

lane :distribute do
    # Build
    build_ios_app(
      ...
    )

    # Upload to Firebase
    firebase_app_distribution(
      app: "***", 
      firebase_cli_token: "***",
      testers: "***", 
      release_notes: "***"
    )
  end
end

I use "fastlane distribute" command to run the lane and after that I am getting 404 error (you can see output on screenshot)

Screenshot from 2022-05-04 13-36-31

In the very end after that image I got logs that are followed by:

/Users/project/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/gems/faraday-1.5.1/lib/faraday/response/raise_error.rb:22:in `on_complete': \e[31m[!] the server responded with status 404\e[0m (Faraday::ResourceNotFound)
Library Version
fastlane 2.205.2
fastlane-plugin-firebase_app_distribution 0.3.4
jladieu commented 2 years ago

Thanks for reaching out! Can you let me know if you're just starting to use the fastlane plugin for app distribution? If so, there are some basic things we can try.

1) Verify if the Project ID or App ID used in your fastfile are correct.

2) If this is your first time working with it, it's possible you need to onboard your app.

3) Add debug to your fastfile, rerun, and share the logs with us. Some additional details might help narrow down the problem.

Pavel1501 commented 2 years ago

Yeah, You are right, that`s the first time I work with Firebase. I did not press Get Started button. Thank you for advice!!!

jladieu commented 2 years ago

Awesome! Glad this helped. Enjoy app distribution! We'd love to know what you think as you get started.

cvb941 commented 1 year ago

I spent some time today on this until I found this GitHub Issue. Would be great to have an error description in the output log somehow to direct people to press the Get Started button first in the Firebase console.