fastlane: The provided entity includes an unknown attribute - 'templateName' is not an attribute on the resource 'profiles' - /data/attributes/templateName
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
Issue Description
The following issue is occuring: The provided entity includes an unknown attribute - ‘templateName’ is not an attribute on the resource ‘profiles’ - /data/attributes/templateName
Command executed
fastlane sigh
Complete output when running fastlane, including the stack trace and command used
[22:38:36]: Creating authorization token for App Store Connect API [22:38:36]: Fetching profiles… [22:38:37]: Verifying certificates… [22:38:37]: No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you
Looking for related GitHub issues on fastlane/fastlane…
Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new
Run fastlane env to append the fastlane environment to your issue
/opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/spaceship/lib/spaceship/connect_api/api_client.rb:223:in ‘Spaceship::ConnectAPI::APIClient#handle_response’: [!] A parameter has an invalid value - ‘eyJvZmZzZXQiOiIyMCJ9’ is not a valid cursor for this request (Spaceship::UnexpectedResponse)
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/spaceship/lib/spaceship/connect_api/api_client.rb:114:in ‘Spaceship::ConnectAPI::APIClient#get’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/spaceship/lib/spaceship/connect_api/provisioning/client.rb:31:in ‘Spaceship::ConnectAPI::Provisioning::Client#get’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/spaceship/lib/spaceship/connect_api/response.rb:31:in ‘Spaceship::ConnectAPI::Response#next_page’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/spaceship/lib/spaceship/connect_api/response.rb:45:in ‘block in Spaceship::ConnectAPI::Response#next_pages’
from internal:kernel:168:in ‘Kernel#loop’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/spaceship/lib/spaceship/connect_api/response.rb:44:in ‘Spaceship::ConnectAPI::Response#next_pages’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/spaceship/lib/spaceship/connect_api/response.rb:57:in ‘Spaceship::ConnectAPI::Response#all_pages’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/spaceship/lib/spaceship/connect_api/models/bundle_id.rb:44:in ‘Spaceship::ConnectAPI::BundleId.all’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/spaceship/lib/spaceship/connect_api/models/bundle_id.rb:50:in ‘Spaceship::ConnectAPI::BundleId.find’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/sigh/lib/sigh/runner.rb:317:in ‘Sigh::Runner#ensure_app_exists!’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/sigh/lib/sigh/runner.rb:53:in ‘Sigh::Runner#run’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/sigh/lib/sigh/manager.rb:8:in ‘Sigh::Manager.start’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/sigh/lib/sigh/commands_generator.rb:62:in ‘block (2 levels) in Sigh::CommandsGenerator#run’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in ‘Commander::Command#call’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in ‘Commander::Command#run’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in ‘Commander::Runner#run_active_command’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in ‘Commander::Runner#run!’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in ‘Commander::Delegates#run!’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/sigh/lib/sigh/commands_generator.rb:140:in ‘Sigh::CommandsGenerator#run’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/sigh/lib/sigh/commands_generator.rb:17:in ‘Sigh::CommandsGenerator.start’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/fastlane/lib/fastlane/cli_tools_distributor.rb:115:in ‘Fastlane::CLIToolsDistributor.take_off’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/gems/fastlane-2.227.0/bin/fastlane:23:in ‘<top (required)>’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/bin/fastlane:25:in ‘Kernel#load’
from /opt/homebrew/Cellar/fastlane/2.227.0/libexec/bin/fastlane:25:in ‘<main>’
[REPLACE THIS WITH YOUR INFORMATION]
Environment
✅ fastlane environment ✅
Stack
Key Value OS 15.3.2 Ruby 3.4.2 Bundler? false Git git version 2.49.0 Installation Source /opt/homebrew/Cellar/fastlane/2.227.0/libexec/bin/fastlane Host macOS 15.3.2 (24D81) Ruby Lib Dir /opt/homebrew/Cellar/ruby/3.4.2/lib OpenSSL Version OpenSSL 3.4.1 11 Feb 2025 Is contained false Is homebrew true Is installed via Fabric.app false Xcode Path /Applications/Xcode.app/Contents/Developer/ Xcode Version 16.1 Swift Version 6.0.2 System Locale
Variable Value LANG de_DE.UTF-8 ✅ LC_ALL LANGUAGE fastlane files:
No Fastfile found
No Appfile found
fastlane gems
Gem Version Update-Status fastlane 2.227.0 ✅ Up-To-Date Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem Version error_highlight 0.7.0 did_you_mean 2.0.0 syntax_suggest 2.0.2 public_suffix 6.0.1 addressable 2.8.7 artifactory 3.0.17 aws-eventstream 1.3.2 aws-partitions 1.1065.0 aws-sigv4 1.11.0 base64 0.2.0 jmespath 1.6.2 aws-sdk-core 3.220.1 aws-sdk-kms 1.99.0 aws-sdk-s3 1.182.0 babosa 1.0.4 bundler 2.6.4 rexml 3.4.1 nkf 0.2.0 CFPropertyList 3.0.7 colored 1.2 highline 2.0.3 commander 4.6.0 dotenv 2.8.1 emoji_regex 3.2.3 excon 0.112.0 faraday-em_http 1.0.0 faraday-em_synchrony 1.0.0 faraday-excon 1.1.0 faraday-httpclient 1.0.1 multipart-post 2.4.1 faraday-multipart 1.1.0 faraday-net_http 1.0.2 faraday-net_http_persistent 1.2.0 faraday-patron 1.0.0 faraday-rack 1.0.0 faraday-retry 1.0.3 ruby2_keywords 0.0.5 faraday 1.10.4 faraday_middleware 1.2.1 domain_name 0.6.20240107 http-cookie 1.0.8 faraday-cookie_jar 0.0.7 fastimage 2.4.0 sysrandom 1.0.5 fastlane-sirp 1.0.0 gh_inspector 1.1.3 uber 0.1.0 declarative 0.0.20 trailblazer-option 0.1.2 representable 3.2.0 retriable 3.1.2 mini_mime 1.1.5 jwt 2.10.1 multi_json 1.15.0 os 1.1.4 signet 0.19.0 googleauth 1.8.1 mutex_m 0.3.0 httpclient 2.9.0 google-apis-core 0.11.3 google-apis-androidpublisher_v3 0.54.0 google-apis-playcustomapp_v1 0.13.0 google-cloud-env 1.6.0 google-cloud-errors 1.5.0 google-cloud-core 1.8.0 google-apis-iamcredentials_v1 0.17.0 google-apis-storage_v1 0.31.0 rake 13.2.1 digest-crc 0.7.0 google-cloud-storage 1.47.0 json 2.9.1 mini_magick 4.13.2 naturally 2.2.1 optparse 0.6.0 plist 3.7.2 rubyzip 2.4.1 security 0.1.5 simctl 1.6.10 terminal-notifier 2.0.0 unicode-display_width 2.6.0 terminal-table 3.0.2 tty-screen 0.8.2 tty-cursor 0.7.1 tty-spinner 0.9.3 word_wrap 1.0.0 atomos 0.1.3 claide 1.1.0 colored2 3.1.2 nanaimo 0.4.0 xcodeproj 1.27.0 rouge 3.28.0 xcpretty 0.4.0 xcpretty-travis-formatter 1.0.1 set 1.1.1 forwardable 1.3.3 logger 1.6.4 pathname 0.4.0 shellwords 0.2.2 cgi 0.4.1 date 3.4.1 timeout 0.4.3 stringio 3.1.2 securerandom 0.4.1 uri 1.0.2 ipaddr 1.2.7 openssl 3.3.0 digest 3.2.0 io-nonblock 0.3.1 zlib 3.2.1 resolv 0.6.0 io-wait 0.3.1 time 0.4.1 open-uri 0.5.0 net-http 0.6.0 net-protocol 0.2.2 english 0.8.0 erb 4.0.4 strscan 3.1.2 abbrev 0.1.2 io-console 0.8.0 tempfile 0.3.1 delegate 0.4.0 fileutils 1.7.3 tmpdir 0.3.1 singleton 0.3.0 open3 0.2.1 prettyprint 0.2.0 pp 0.6.2 find 0.2.0 ostruct 0.6.1 yaml 0.4.0 psych 5.2.2 generated on: 2025-03-18
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 24 (6 by maintainers)
Commits related to this issue
- Use read-only mode when syncing signing assets for iOS AdHoc builds (#985) Task/Issue URL: https://app.asana.com/1/137249556945/project/1203301625297703/task/1210498413174262?focus=true Description:... — committed to duckduckgo/apple-browsers by ayoy a year ago
- Update fastlane to 2.228.0 that fixes iOS AdHoc builds code signing (#1025) Task/Issue URL: https://app.asana.com/1/137249556945/project/1201899738287924/task/1210473120077094?focus=true Description... — committed to duckduckgo/apple-browsers by ayoy a year ago
- Update fastlane to 2.228.0 that fixes iOS AdHoc builds code signing (#1025) Task/Issue URL: https://app.asana.com/1/137249556945/project/1201899738287924/task/1210473120077094?focus=true Description... — committed to duckduckgo/apple-browsers by ayoy a year ago
- Update fastlane to 2.228.0 that fixes iOS AdHoc builds code signing (#1025) Task/Issue URL: https://app.asana.com/1/137249556945/project/1201899738287924/task/1210473120077094?focus=true Description... — committed to duckduckgo/apple-browsers by ayoy a year ago
It’s happening again with version 2.227.2.
.rubies/ruby-3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.227.2/spaceship/lib/spaceship/connect_api/api_client.rb:223:inhandle_response’: [!] The provided entity includes an unknown attribute - ‘templateName’ is not an attribute on the resource ‘profiles’ - /data/attributes/templateName (Spaceship::UnexpectedResponse)`commenting out these lines works in a pinch. open to better solutions on that PR
https://github.com/fastlane/fastlane/pull/29501
Yes, also happening on our side with 2.226.0 - we switched again back to fastlane session authentication. Is there any solution that this will not happen anymore?
Looks like in the short term it might be possible to use user authentication instead of the API key.