# AWS DynmoDB third party library plugin results in EXCEPTION\_ACCESS\_VIOLATION

**URL:** <https://forums.unrealengine.com/t/aws-dynmodb-third-party-library-plugin-results-in-exception_access_violation/484115>\
**Category:** Plugins\
**Tags:** third-party-librarie, aws, access-violation, unreal-engine, Plugins, question\
**Created:** [May 31, 2021, 10:46pm UTC](https://forums.unrealengine.com/t/aws-dynmodb-third-party-library-plugin-results-in-exception_access_violation/484115 "2021-05-31T22:46:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LizLeyou](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LizLeyou](https://forums.unrealengine.com/u/LizLeyou)\
**Post date:** [May 31, 2021, 10:46pm UTC](https://forums.unrealengine.com/t/aws-dynmodb-third-party-library-plugin-results-in-exception_access_violation/484115/1 "2021-05-31T22:46:14Z")

</div>

Hey,  
I’m trying to set up a plugin to use the AWS DynamoDB SDK. The .dll’s seem to be loaded correctly, as I can use some of the functionality of the SDK. Others result in a EXCEPTION\_ACCESS\_VIOLATION, like this:

```
[2021.05.29-19.49.12:715][803]LogTemp: Warning: Attemp save inv.
[2021.05.29-19.49.16:168][803]LogWindows: Error: === Critical error: ===
[2021.05.29-19.49.16:168][803]LogWindows: Error: 
[2021.05.29-19.49.16:168][803]LogWindows: Error: Fatal error!
[2021.05.29-19.49.16:168][803]LogWindows: Error: 
[2021.05.29-19.49.16:168][803]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x00000200
[2021.05.29-19.49.16:168][803]LogWindows: Error: 
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff8eff5d3cc aws-cpp-sdk-core.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff8eff35ad5 aws-cpp-sdk-core.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff8f40aa644 UE4Editor-DynamoAPI-Win64-DebugGame.dll!UDynamo::SaveInventory() [D:\ProjectEmilia\ProjectEmilia\Plugins\DynamoAPI\Source\DynamoAPI\Private\Dynamo.cpp:18]
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff8f3edd0a1 UE4Editor-Emilia-Win64-DebugGame.dll!AEmiliaGameMode::Logout() [D:\ProjectEmilia\ProjectEmilia\Source\Emilia\Private\Actors\GameModes\EmiliaGameMode.cpp:244]
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff907a5bc51 UE4Editor-Engine.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff907dbdad2 UE4Editor-Engine.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff90753f15a UE4Editor-Engine.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff908257910 UE4Editor-Engine.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff907f91740 UE4Editor-Engine.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff8fdb8c9c7 UE4Editor-OnlineSubsystemUtils.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff908032e91 UE4Editor-Engine.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff90866eb11 UE4Editor-Engine.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff9086d967c UE4Editor-Engine.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff9141aba1f UE4Editor-UnrealEd.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff913c6bce5 UE4Editor-UnrealEd.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff9145437e6 UE4Editor-UnrealEd.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff71f417800 UE4Editor-Win64-DebugGame.exe!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff71f42ba7c UE4Editor-Win64-DebugGame.exe!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff71f42bb5a UE4Editor-Win64-DebugGame.exe!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff71f43e32d UE4Editor-Win64-DebugGame.exe!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff71f44146a UE4Editor-Win64-DebugGame.exe!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff985847034 KERNEL32.DLL!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: [Callstack] 0x00007ff987c42651 ntdll.dll!UnknownFunction []
[2021.05.29-19.49.16:168][803]LogWindows: Error: 
[2021.05.29-19.49.16:390][803]LogExit: Executing StaticShutdownAfterError
[2021.05.29-19.49.16:393][803]LogWindows: FPlatformMisc::RequestExit(1)

```

From what I’ve read in similar questions, it probably has something to do with how UE handles garbage collection. I haven’t found any concrete advice on how to fix issues like this.  
This is what I’m trying to execute currently:

```
	const Aws::Client::ClientConfiguration ClientConfiguration;
	const Aws::DynamoDB::DynamoDBClient DynamoClient(ClientConfiguration);

	Aws::DynamoDB::Model::PutItemRequest PutItemRequest;
	PutItemRequest.SetTableName("PlayerCharacters");

	Aws::DynamoDB::Model::AttributeValue IdValue;
	IdValue.SetS("Test1921");

	Aws::DynamoDB::Model::AttributeValue InventoryValue;
	InventoryValue.SetS("This is a super full inventory");

	PutItemRequest.AddItem("CharacterName", IdValue);
	PutItemRequest.AddItem("Inventory", InventoryValue);
	
	const Aws::DynamoDB::Model::PutItemOutcome Result = DynamoClient.PutItem(PutItemRequest);

```

Any help is very much appreciated.

---

<div class="post-metadata">

**Author:** ![snook91](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/snook91/32/556060_2.png) [@snook91](https://forums.unrealengine.com/u/snook91)\
**Post date:** [June 14, 2022, 12:24pm UTC](https://forums.unrealengine.com/t/aws-dynmodb-third-party-library-plugin-results-in-exception_access_violation/484115/2 "2022-06-14T12:24:59Z")

</div>

Hello,  
Have you find a solution ? it seems that you’re exception is related to mine :  
[UE 4/5 Crashes, Hello World in Third Party Library integration, EXCEPTION\_ACCESS\_VIOLATION](https://forums.unrealengine.com/t/ue-4-5-crashes-hello-world-in-third-party-library-integration-exception-access-violation/581545)
