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
What is an issue ?
We are trying fastlane deliver init command and it is throwing following error [!] 'api_key' value must be a Hash! Found String instead.
The error you’re encountering with the fastlane deliver init command indicates that the api_key parameter is expected to be a Hash, but a String was provided instead. This is a common issue when the API key is not formatted correctly in your Fastfile or environment variables.
Here’s how you can resolve this issue:
Format the API Key as a Hash: The api_key should be provided as a Hash object. If you’re defining it in your Fastfile, it should look something like this:
Use a JSON File: Alternatively, you can create a JSON file containing your API key details and reference it in your Fastfile. The JSON file should have the following format:
What is an issue ?
We are trying
fastlane deliver init
command and it is throwing following error[!] 'api_key' value must be a Hash! Found String instead.
fastlane env details
`
✅ fastlane environment ✅
Stack
System Locale
fastlane files:
`./fastlane/Fastfile`
No Appfile found
fastlane gems
Loaded fastlane plugins:
Loaded gems
generated on: 2024-04-09
The text was updated successfully, but these errors were encountered: