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

Error when trying to submit job #24

Open
darylteo opened this issue Oct 10, 2022 · 2 comments
Open

Error when trying to submit job #24

darylteo opened this issue Oct 10, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@darylteo
Copy link

Describe the bug
A clear and concise description of what the bug is.

2022-10-10T05:29:05.307Z	4cc35dea-e300-4ec3-9008-40971534614c	ERROR	Invoke Error 	
{
    "errorType": "UnexpectedParameter",
    "errorMessage": "Unexpected key 'Name' found in params",
    "code": "UnexpectedParameter",
    "message": "Unexpected key 'Name' found in params",
    "time": "2022-10-10T05:29:04.809Z",
    "stack": [
        "UnexpectedParameter: Unexpected key 'Name' found in params",
        "    at ParamValidator.fail (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:50:37)",
        "    at ParamValidator.validateStructure (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:77:14)",
        "    at ParamValidator.validateMember (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:88:21)",
        "    at ParamValidator.validate (/var/runtime/node_modules/aws-sdk/lib/param_validator.js:34:10)",
        "    at Request.VALIDATE_PARAMETERS (/var/runtime/node_modules/aws-sdk/lib/event_listeners.js:132:42)",
        "    at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)",
        "    at callNextListener (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:96:12)",
        "    at /var/runtime/node_modules/aws-sdk/lib/event_listeners.js:86:9",
        "    at finish (/var/runtime/node_modules/aws-sdk/lib/config.js:396:7)",
        "    at /var/runtime/node_modules/aws-sdk/lib/config.js:414:9"
    ]
}

To Reproduce

  • spin up CF stack
  • upload this Job Settings file (unsure if any impact)

job-settings.txt

  • upload a mov to source-bucket/assets01/
  • no file created, no job submitted, stack trace above

Expected behavior
A clear and concise description of what you expected to happen.

Job is submitted and video files created

Please complete the following information about the solution:

  • [1.1.0 ] Version: [e.g. v1.0.0]
  • [ap-southeast-2] Region: [e.g. us-east-1]
  • [Yes] Was the solution modified from the version published on this repository?
  • [Yes] If the answer to the previous question was yes, are the changes available on GitHub?
  • [Yes] Have you checked your service quotas for the sevices this solution uses?
  • [Yes] Were there any errors in the CloudWatch Logs?

Additional context
Not sure if there was any API changes recently that might have broken the default source code. Any help appreciated.

@darylteo darylteo added the bug Something isn't working label Oct 10, 2022
@darylteo
Copy link
Author

Aha found the issue.

The Job Template that I created using the MediaConvert management console requires one you put in a Template Name.

Exporting it from the Management Console exports it with a "Name" property, and the SDK doesn't like it for some reason (maybe an old version within the zip file in the template?).

@cassneal
Copy link
Member

Hi @darylteo we have added this issue to our solution's backlog. Thank you for filing. Feel free to add any more comments if you find out any more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants