0
在嘗試訂閱谷歌表網絡掛接我設置過期時間,但收到的錯誤:谷歌網絡掛接收到此錯誤:pushInvalidTtl:無效的TTL值通道
pushInvalidTtl: Invalid ttl value for channel -1477712661
這是呼叫我想提出:
Google::Apis::DriveV3::Channel.new(
id: self.id,
address: "https://#{ENV['DOMAIN']}/api/google/webhook",
type: "web_hook",
resource_id: resource_id,
expiration: (Time.current + 99.years).to_i
)