Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with integrations #2315

Closed
knvpk opened this issue Feb 24, 2016 · 12 comments
Closed

Problem with integrations #2315

knvpk opened this issue Feb 24, 2016 · 12 comments
Assignees
Milestone

Comments

@knvpk
Copy link

knvpk commented Feb 24, 2016

When using the integration in the administration page, the url generated is throwing a message

{
  "status": "error",
  "message": "You must be logged in to do this."
}
@knvpk
Copy link
Author

knvpk commented Feb 24, 2016

I just entered channel, post as and all required fileds in the admin->integrations, so i got a url https://chat.somthing.com/hooks/jcETf5Xpfiuo9oyHs/Y2wueEwq6jge7zDjA/6Beycc8GAx2HajTN6DXeGNunNFTYCmglpSg%2BFOkCT%2Bs%3D , but when i use that url to post from curl command it is saying that the error message

{
  "status": "error",
  "message": "You must be logged in to do this."
}

@graywolf336
Copy link
Contributor

Did you save the integration? As it's not valid until you click the save
button.

On Wed, Feb 24, 2016, 8:16 AM Pavan kumar [email protected] wrote:

I just entered channel, post as and all required fileds in the
admin->integrations, so i got a url
https://chat.somthing.com/hooks/jcETf5Xpfiuo9oyHs/Y2wueEwq6jge7zDjA/6Beycc8GAx2HajTN6DXeGNunNFTYCmglpSg%2BFOkCT%2Bs%3D
, but when i use that url to post from curl command it is saying that the
error message

{
"status": "error",
"message": "You must be logged in to do this."
}


Reply to this email directly or view it on GitHub
#2315 (comment)
.

@knvpk
Copy link
Author

knvpk commented Feb 24, 2016

Hi @graywolf336 , After saving the data only i got the url, token and an curl example.

@engelgabriel engelgabriel added this to the 0.20.0 milestone Feb 24, 2016
@knvpk
Copy link
Author

knvpk commented Feb 25, 2016

When debugging, I just deleted the old one and created the new incoming webhook, its working now but how do i translate the gitlab webhook data to rocket chat incoming one. For now im getting the message from gitlab but rocket don't know how to show it correctly.

@rodrigok rodrigok removed this from the 0.20.0 milestone Feb 26, 2016
@engelgabriel engelgabriel added this to the 0.21.0 milestone Mar 2, 2016
@engelgabriel
Copy link
Member

This will be done with the new option to add a parser script to integrations

@knvpk
Copy link
Author

knvpk commented Mar 2, 2016

Oh, i think we want to wait for it?

@engelgabriel
Copy link
Member

Yes, we will work on this today, bare with us.

@knvpk
Copy link
Author

knvpk commented Mar 4, 2016

Hi @engelgabriel , Any progress on this?

@engelgabriel
Copy link
Member

Depends on #2426

@engelgabriel engelgabriel modified the milestones: 0.21.0, 0.22.0 Mar 7, 2016
@engelgabriel
Copy link
Member

@engelgabriel
Copy link
Member

Now on version 0.22.0 you can use the custom scripts to process the payload

@engelgabriel
Copy link
Member

The sample script will be done on issue #2367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants