Trying to extend a session with ory's ruby SDK and...
# talk-kratos
t
Trying to extend a session with ory's ruby SDK and I'm getting a 404. We are using Ory Cloud for our project. Has anyone else ran into this? Thanks!
Copy code
session = OryClient::V0alpha2Api.new.to_session(cookie: session_cookie)

OryClient::V0alpha2Api.new.admin_extend_session(session.id)

# Response body: {"error":{"code":404,"status":"Not Found","request":"87d445af-da7f-923a-9c0d-f3e91283271e","message":"Requested url does not match any rules"}}
It looks like potentially the endpoint changed to be called
refresh
but the ruby sdk wasn't updated? https://www.ory.sh/docs/kratos/session-management/refresh-extend-sessions