Open
Description
I'm getting the following error:
Run-time error '5': Invalid procedure call or argument
When calling AddBodyParameter on a WebRequest
The error occurs on the line:dict_pDictionary.Item(Key) = Value
In:
Public Property Let Item(Key As Variant, Value As Variant)
#If Mac Or Not UseScriptingDictionaryIfAvailable Then
If Me.Exists(Key) Then
dict_ReplaceKeyValue dict_GetKeyValue(Key), Key, Value
Else
dict_AddKeyValue Key, Value
End If
#Else
dict_pDictionary.Item(Key) = Value
#End If
End Property
The key is "propertyName" and the value is "asdasdasd". This error occurs after its already looped through and added some Body Parameters.
The exact same code and input runs fine on 32bit Excel 2010, 2013 and 2016.
The error is occurring for me in x64 Excel 2016