[Solved] An error occurred while calling o86.getDynamicFrame. Exception thrown in awaitResult:

0 min read 134 words

If you are running a GlueJob in AWS and get the following error:

An error occurred while calling o86.getDynamicFrame. Exception thrown in awaitResult:

Then you need to view the CloudWatch logs to help you pinpoint where the problem is occuring.

How to solve the Exception thrown in awaitResult

It’s highly likely that the issue is in an expired IAM Role.

When a Role is created in IAM, the default maximum session duration is set to 1 hour.

If your GlueJob completes before this time, then you won’t see the above error.

So you can resolve this by setting your Role‘s maximum session duration to a larger number.

Click Edit in the Role’s specific console page and select a higher duration time.

The maximum value possible is 12 hours unless you set a custom duration.

Tags:
Andrew
Andrew

Andrew is a visionary software engineer and DevOps expert with a proven track record of delivering cutting-edge solutions that drive innovation at Ataiva.com. As a leader on numerous high-profile projects, Andrew brings his exceptional technical expertise and collaborative leadership skills to the table, fostering a culture of agility and excellence within the team. With a passion for architecting scalable systems, automating workflows, and empowering teams, Andrew is a sought-after authority in the field of software development and DevOps.

Tags