Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tvOS] Match: A parameter 'filter[platform]' has an invalid value : 'Empty filter values are not supported. #21825

Closed
4 tasks done
ikhvorost opened this issue Jan 23, 2024 · 5 comments · Fixed by #21828
Closed
4 tasks done

Comments

@ikhvorost
Copy link

New Issue Checklist

Issue Description

Match fails for tvOS platform.

Command executed
match(
    type: "appstore",
    platform: "tvos",
)
Complete output when running fastlane, including the stack trace and command used
+------------------------------+
|         Lane Context         |
+------------------+-----------+
| DEFAULT_PLATFORM | ios       |
| PLATFORM_NAME    | tvos      |
| LANE_NAME        | tvos beta |
+------------------+-----------+
[23:14:36]: {
  "errors" : [ {
    "id" : "f4d67a04-e1db-477b-a9db-9af7d3beb0d6",
    "status" : "400",
    "code" : "PARAMETER_ERROR.INVALID",
    "title" : "A parameter has an invalid value",
    "detail" : "A parameter 'filter[platform]' has an invalid value : 'Empty filter values are not supported.'",
    "source" : {
      "parameter" : "filter[platform]"
    }
  } ]
}
+-------------------------------------------------+
|                fastlane summary                 |
+------+----------------------------+-------------+
| Step | Action                     | Time (in s) |
+------+----------------------------+-------------+
| 1    | Verifying fastlane version | 0           |
| 2    | default_platform           | 0           |
| 3    | app_store_connect_api_key  | 0           |
| 💥   | match                      | 3           |
+------+----------------------------+-------------+
[23:14:36]: fastlane finished with errors### Environment

fastlane 2.219.0

@nekrich
Copy link
Contributor

nekrich commented Jan 23, 2024

@ikhvorost , fixed it #21828 . Can you please check if it works for you?

@ikhvorost
Copy link
Author

@nekrich I have new error on the fix:

[11:06:52]: {
  "errors" : [ {
    "id" : "63847d29-ed65-4dc5-b125-24bc6fa83517",
    "status" : "400",
    "code" : "PARAMETER_ERROR.INVALID",
    "title" : "A parameter has an invalid value",
    "detail" : "A parameter 'platform' has an invalid value : 'Unknown value: TV_OS'",
    "source" : {
      "parameter" : "platform"
    }
  } ]
}

@nekrich
Copy link
Contributor

nekrich commented Jan 24, 2024

Ok, apparently, there is no TV_OS platform 😅. Just switched it to the iOS. AppleTV devices will be filtered by device_classes after all iOS devices are fetched.
Can you please check it once again, please?

@ikhvorost
Copy link
Author

Now it works OK both ios/tvos. Thanks!

@romainbiard
Copy link

romainbiard commented Feb 7, 2024

I do have a similar issue, I don't know if it's the same issue or worth to open a new one (tvos):

    "id" : "e6d420f2-d2a7-4014-acee-e25099e4393b",
    "status" : "400",
    "code" : "PARAMETER_ERROR.INVALID",
    "title" : "A parameter has an invalid value",
    "detail" : "A parameter 'filter[platform]' has an invalid value : 'Empty filter values are not supported.'",
    "source" : {
      "parameter" : "filter[platform]"
    }
  } ]```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants