I experienced this issue when I was trying to create a managed source with DynamoDB as the data destination. AWS will often generate secret_access_keys that include special characters(+, /, etc). Our secret token happened to include a forward slash /.
I experienced this issue when I was trying to create a managed source with DynamoDB as the data destination. AWS will often generate secret_access_keys that include special characters(
+
,/
, etc). Our secret token happened to include a forward slash/
.The invalid escaping originates in
DataSift::Client.encode
(https://github.com/datasift/datasift-ruby/blob/develop/lib/datasift.rb#L222)URI.escape
does not handle the slash correctly, where asCGI.escape
does.If I attempt to pre-escape my value when setting up my data destination, the
encode
method double escapes it and continues to make it invalid:Seems like the fix here would be to use
CGI.escape
instead.