localio
localio copied to clipboard
ArgumentError: header field value cannot include CR/LF
Hello, this is my Locfile:
platform :ios
output_path 'my_output_path/'
source :google_drive,
:spreadsheet => '[Localizables] Localio example',
:client_id => ENV['CLIENT_ID'],
:client_secret => ENV['CLIENT_SECRET']
when I run localize I get the URL to open in order to activate the API and get the code (4/AADb3pZBF1LtZM6QHTQEW0j04A1-DF-yLp4Gd9lyFO-p_-jEGW1RbOs). When I paste the code I get the following:
Error: #<ArgumentError: header field value cannot include CR/LF>
Couldn't access Google Drive. Check your values for :client_id and :client_secret, and delete :access_token if present (you might need to refresh its value so please remove it)
I don't really know why. Could it be a encoding issue?
Thank you Marco
Did you get around to solving this issue? I am facing the same. :(
@mrmans0n Any insight to fix this?
Didn't manage to fix it, and apparently the project is not supported anymore -.-
I have found this tool:
https://github.com/netbe/Babelish
has a similar set of features and for me it's working.
This looks like you inserted an extra CR LF character from when you pasted the link?
@mrmans0n don't think so, it's also happening to me but not after pasting the URL, I already have a .localio.yml
file with its access_token
. To me, it's happening when running localize
.
Updates here: in my case, downgrading to ruby 2.4.1p111 fixed the issue.
@mrmans0n in my case, version ruby 2.4.1p111
is working. but when using new version ruby not working.