"no implicit conversion of Array into String" with client.auth_test
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start with the README instructions and the Slack.configure block shown in the report, then trace the client.auth_test call in the Ruby Slack Web API client. Reproduce the Heroku deployment error while comparing it with the successful client.files_upload call. Done means identifying the cause of the Array-to-String error and documenting or fixing the affected request path.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi,
I followed the instructions in the Readme but it's throwing an error at some point. My code is deployed on Heroku. Here's the piece of code in question:
Slack.configure do |config|
config.token = ENV['SLACK_API_TOKEN']
end
client = Slack::Web::Client.new
client.auth_test #Error happens at this line.
The error is (displayed on Slack):
<DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD><TITLE>Internal Server Error</TITLE></HEAD>
<BODY>
<H1>Internal Server Error</H1>
no implicit conversion of Array into String
<HR>
<ADDRESS>
WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16) at
[myapp].herokuapp.com:443
</ADDRESS>
</BODY>
</HTML>
Somehow, I can still call client.files_upload() after auth_test with no problem (token is correct) but I still get the error above displayed on Slack. What's wrong?
Thanks!
- Lingua principale
- Ruby
- Stelle
- 1.3k
- Fork
- 222
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di slack-ruby/slack-ruby-client
-
new feature question
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
slack-ruby/slack-ruby-client#586 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
slack-ruby/slack-ruby-client#601 · 1 commento ·
-
bug?
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
slack-ruby/slack-ruby-client#579 · 3 commenti ·
-
new feature web api
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
slack-ruby/slack-ruby-client#482 · 5 commenti ·
-
new feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
slack-ruby/slack-ruby-client#414 · 15 commenti ·
Tutte le issue di slack-ruby/slack-ruby-client
Issue simili
-
security
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
grafana/pyroscope#5729 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
rubygems/rubygems.org#6895 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
samvera/hyku#3359 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Child factories do not inherit traits from their parentForse già presa @alassek l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
rom-rb/rom-factory#99 ·