In case you are operating a GlueJob
in AWS and get the next error:
An error occurred whereas calling o86.getDynamicFrame. Exception thrown in awaitResult:
Then it is advisable view the CloudWatch logs that will help you pinpoint the place the issue is occuring.
Easy methods to resolve the Exception thrown in awaitResult
It’s extremely seemingly that the problem is in an expired IAM Position.
When a Position is created in IAM, the default most session length
is about to 1 hour
.
![[Solved] An error occurred whereas calling o86.getDynamicFrame. Exception thrown in awaitResult: [Solved] An error occurred whereas calling o86.getDynamicFrame. Exception thrown in awaitResult:](https://ao.ms/wp-content/uploads/2022/08/image.png)
In case your GlueJob
completes earlier than this time, then you definately gained’t see the above error.
So you possibly can resolve this by setting your Position
‘s most session length
to a bigger quantity.

Click on Edit
within the Position’s particular console web page and choose a better length
time.
The utmost worth attainable is 12 hours
except you set a customized length
.
