question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid type for parameter ExternalId, value: None

See original GitHub issue

Hi,

When I specify a role on sagify cloud train, it fails if I do not specify the ExternalId and got the following error.

Invalid type for parameter ExternalId, value: None, type: <class ‘NoneType’>, valid types: <class ‘str’>

In boto3 sts doc, it is defined asExternalId='string' so we can not pass None.

Can we assume role here without ExternalId if it is not specified from the cli arguments.

Using Sagify 0.20.4

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ilazakiscommented, Feb 21, 2020

Hi @abaspinar 👋, users should be able to provide or omit the external id according to their needs. I’ll flag this as a bug and fix asap.

0reactions
abaspinarcommented, Feb 24, 2020

Easy and quick fix. Thanks a lot. Can be changed later with the real default value of the botocore ExternalId but I also couldn’t really find it when I was digging deeper the python sdk, maybe it is under the hood of somethings I am missing. Anyways, really appreciated for the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The error was: Invalid type for parameter TagSpecifications ...
The error was: Invalid type for parameter TagSpecifications, value: None, type: <class 'NoneType'>, valid types: <class 'list'>, <class 'tuple'>.
Read more >
How to use an external ID when granting access to your AWS ...
The call includes the ARN of the role to assume and the ExternalId parameter that corresponds to their customer ID. If the request...
Read more >
REST API for Oracle Service Cloud Knowledge Advanced 18A
Error Code Message Description OK‑DATABASE0001 A database error has occurred. Error: A generic database error ha... OK‑FOUNDATION0001 A core application error has occurred. A core...
Read more >
Insert or Update (Upsert) a Record Using an External ID
This example uses the POST method as a special case to insert a record where the Id field is treated as the external...
Read more >
REST API Developer Guide
Get Field Values from an External Object Record by Using the External ID Standard ... When you include an invalid header value for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found