Create item on another site

I’m trying to create an item that gets its data from a list and then creates an item with that data in a document library on a different site. However, I keep getting this error: Exception: Incorrect function. (Exception from HRESULT: 0x80070001). Any help would be appreciated. Thank you.

Here is my workflow:

Build {…} Dictionary (Output to Variable:dictionary)
then Create item in list (path to document library) with Variable:dictionary
Go to End of Workflow

In the dictionary I’m testing a few fields:
Name -> String -> Current Item: Name
Salary -> String -> Current Item: Salary
Etc.

Hello,

Please send us a screenshot with the workflow at support@plumsail.com

Dear,

I receive the same eroor, could you tell what solved the previous problem ?

Sebastian,

As I remember it was incorrect value of one of the fields.
I would recommend you to create a simple workflow with only Title field to ensure that it works. After it adds own fields, please ensure that you use internal field names for the fields.